//-------------------------------------------------------------------
//	Copyright (c) 2010-2014  Zhirnov Andrey
//	This file is part of the "UX Standard Lib" project.
//	See copyright notice in "UX_STL_Core.h".
//-------------------------------------------------------------------

#ifdef __UX_STL_UNIT_TEST__

#include "../ux_stl_core.h"

using namespace UX_STL;
using namespace UXTypes;


void Test_Containers_Queue ()
{
	queue< int >	q;

	/*q << 0 << 1 << 2 << 3 << 4;

	q.PopFront();
	q.PopFront();
	q.PopFront();
	q.PopFront();

	int v = 11;
	q.AppendBack( uni_array<const int>( &v, 1 ) );

	v = 22;
	q.AppendFront( uni_array<const int>( &v, 1 ) );

	int a[3] = { 33, 44, 55 };
	q.AppendBack( a );

	q.AppendFront( a );*/

	q << 0;			q.PopFront();	ASSERT( q.Count() == 0 );
	q << 1 << 2;	q.PopFront();	q.PopFront();	ASSERT( q.Count() == 0 );
	q << 3 << 4 << 5;	q.ClearMem();	ASSERT( q.Count() == 0 );
}


void Test_CircularQuue ()
{
}


#endif	// __UX_STL_UNIT_TEST__